Cypress Semiconductor /psoc63 /SCB0 /CMD_RESP_STATUS

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CMD_RESP_STATUS

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0CURR_RD_ADDR0CURR_WR_ADDR0 (CMD_RESP_EC_BUS_BUSY)CMD_RESP_EC_BUS_BUSY 0 (CMD_RESP_EC_BUSY)CMD_RESP_EC_BUSY

Description

Command/response status

Fields

CURR_RD_ADDR

I2C/SPI read current address for CMD_RESP mode. HW increments the field after a read access to the memory buffer. However, when the last memory buffer address is reached, the address is NOT incremented (but remains at the maximim memory buffer address).

The field is used to determine how many bytes have been read (# bytes = CURR_RD_ADDR - CMD_RESP_CTRL.BASE_RD_ADDR).

This field is reliable when there is no bus transfer. This field is potentially unreliable when there is a ongoing bus transfer, i.e. when CMD_RESP_EC_BUSY is ‘0’, the field is reliable.

CURR_WR_ADDR

I2C/SPI write current address for CMD_RESP mode. HW increments the field after a write access to the memory buffer. However, when the last memory buffer address is reached, the address is NOT incremented (but remains at the maximim memory buffer address).

The field is used to determine how many bytes have been written (# bytes = CURR_WR_ADDR - CMD_RESP_CTRL.BASE_WR_ADDR).

This field is reliable when there is no bus transfer. This field is potentially unreliable when there is a ongoing bus transfer, i.e when CMD_RESP_EC_BUSY is ‘0’, the field is reliable.

CMD_RESP_EC_BUS_BUSY

Indicates whether there is an ongoing bus transfer to the IP. ‘0’: no ongoing bus transfer. ‘1’: ongoing bus transfer.

For SPI, the field is ‘1’ when slave mode is selected.

For I2C, the field is set to ‘1’ at a I2C START/RESTART. In case of an address match, the field is set to ‘0’ on a I2C STOP. In case of NO address match, the field is set to ‘0’ after the failing address match.

CMD_RESP_EC_BUSY

N/A

Links

() ()